/*
 * @Author: 小羊今晚不睡觉 2226764294@qq.com
 * @Date: 2025-09-25 13:17:42
 * @LastEditors: 小羊今晚不睡觉 2226764294@qq.com
 * @LastEditTime: 2025-10-09 16:28:24
 * @FilePath: \yougongxia-backstage\src\router\modules\system.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { RouteRecordRaw } from 'vue-router';
import { Layout } from '@/router/constant';
import { renderIcon } from '@/utils/index';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/system',
    name: 'System',
    redirect: '/system',
    component: Layout,
    meta: {
      title: '用户管理',
      icon: renderIcon('/icons/system.png'),
      sort: 1,
    },
    children: [
      {
        path: '',
        name: 'SystemIndex',
        meta: {
          title: '用户管理',
        },
        component: () => import('@/views/system/index.vue'),
      },
    ],
  },
];

export default routes;
